package com.example.myspringboot.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author cy
 * @date 2024/1/5
 */
@Configuration
@ConfigurationProperties(prefix = "app")
@Data
public class AppConfig {
    /**
     * 项目名
     */
    private String name;
    /**
     * 超时时间
     */
    private String timeout;

    private String url1;
    private String url2;
}
